package com.mtons.mblog.modules.service;

import com.mtons.mblog.modules.data.LearnDocVO;
import com.mtons.mblog.modules.entity.LearnDoc;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;


/**
 * @author leicongwu
 */
public interface LearnDocService extends BaseService<LearnDoc, String> {

    Page<LearnDocVO> paging(Pageable pageable, String docType, String title);

    void update(LearnDocVO docVO);

    LearnDocVO get(String id);

    void post(LearnDocVO docVO);

    /**
     * 复习计划生成
     *
     * @return
     */
    int reviewDoc();

    int sendReviewEmail();
}
